package com.wzh.live.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.wzh.live.vo.NewHouseVo;
import lombok.Data;

/**
 * 
 * 
 * @author wzh
 * @email 1281204121@qq.com
 * @date 2022-03-28 17:09:10
 */
@Data
@TableName("live_stream")
public class LiveStreamEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 直播活动id
	 */
	@TableId
	private Integer liveId;
	/**
	 * 直播名
	 */
	private String liveName;
	/**
	 * 开始时间
	 */
	private Date startDate;
	/**
	 * 结束时间
	 */
	private Date endDate;
	/**
	 * 拉流
	 */
	private String upUrl;
	/**
	 * 推流
	 */
	private String downUrl;

	@TableField(exist = false)
	List<LiveHouseEntity> liveHouses;

	@TableField(exist = false)
	List<NewHouseVo> newHouseVos;

}
